﻿@model LetsDealData.Entities.Category

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Bạn có chắc muốn xoá danh mục này?</h3>
<fieldset>
    <legend>Category</legend>

    <div class="display-label">Tên danh mục:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Thứ tự:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Order)
    </div>

    <div class="display-label">Danh mục cha:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Parent)
    </div>

    <div class="display-label">Mô tả:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input class="btn btn-primary" type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
